const Clocker = require('../dist/clocker-js.cjs')


let targetDate = new Date(2019,2,3);
let clocker = new Clocker(targetDate,true);  // 创建 计时器对象



// 获得计时器的 年、月、日、时、分、秒
let year = clocker.year;
let month = clocker.month;
let date = clocker.date;
let hours = clocker.hours;
let minutes = clocker.minutes;
let seconds = clocker.seconds;

console.log(year,month,date,hours,minutes,seconds);
debugger